﻿Public Class FormMDI



    Private Sub FormMDI_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'VentanasToolStripMenuItem.IsMdiWindowListEntry = True
    End Sub

    Private Sub JugadoresToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles JugadoresToolStripMenuItem.Click
        FormAltaJugadores.Show()
        FormAltaJugadores.MdiParent = Me
    End Sub

    Private Sub EquiposToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles EquiposToolStripMenuItem.Click
        FormAltaEquipo.Show()
        FormAltaEquipo.MdiParent = Me
    End Sub

  
    Private Sub CascadaToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles CascadaToolStripMenuItem.Click
        Me.LayoutMdi(MdiLayout.Cascade)
    End Sub

    Private Sub HorizontalToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles HorizontalToolStripMenuItem.Click
        Me.LayoutMdi(MdiLayout.TileHorizontal)
    End Sub

    Private Sub VerticalToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles VerticalToolStripMenuItem.Click
        Me.LayoutMdi(MdiLayout.TileVertical)
    End Sub
End Class
